package io.renren.modules.generator.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.generator.entity.UserFriendEntity;

import java.util.Map;

/**
 * @author jianzhen
 * @email sunlightcs@gmail.com
 * @date 2022-04-10 11:24:32
 */
public interface UserFriendService extends IService<UserFriendEntity> {

    PageUtils queryPage(Map<String, Object> params);

    IPage<Map<String, Object>> selectFriendList(Page<Map<String, Object>> page, Map<String, Object> params);

    PageUtils selectAddFriendList(Map<String, Object> params);

    void deleteFirend(Long friendId);
}

